home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Digital Signatures / Digital Signature Demo / Source ƒ / SIGStatusManager.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-11  |  755 b   |  31 lines  |  [TEXT/KAHL]

  1. /*
  2.  * SIGStatusManager.h
  3.  * Copyright © 1993 Apple Computer Inc.
  4.  * All Rights Reserved
  5.  *
  6.  * Manage a status window that can be used to stop Digital Signature
  7.  * operation. It is created when an application passes gSIGStatusProc
  8.  * to one of the signing or verifying methods. It creates a small status
  9.  * window with a "barber pole" progress indicator and a Cancel button.
  10.  */
  11. #define _H_SIGStatusManager
  12.  
  13. #include <CDirector.h>
  14. #include <DigitalSignature.h>
  15.  
  16. class SIGStatusManager : public CDirector {
  17. private:
  18.         unsigned long            itsTickCount;
  19. public:
  20.         void                    ISIGStatusManager(
  21.             ConstStr255Param        actionString,
  22.             ConstStr255Param        objectString
  23.         );
  24.         void                    DoCommand(
  25.             long                    aCommand
  26.         );
  27.         void                    Dawdle(
  28.             long                    *maxSleep
  29.         );
  30. };
  31.